package baiwa.rta.service;

import java.util.List;
import java.util.Map;

import org.springframework.transaction.annotation.Transactional;

import baiwa.rta.model.DataTableModel;
import baiwa.rta.model.RMsreqhdr;

public interface RequestService {

	public List<RMsreqhdr> getAllCarCard();

	@Deprecated
	public List<Map<String, Object>> getAllMapCarCard();

	public RMsreqhdr getRequestdById(Integer sreqhid);

	@Transactional
	public void save(RMsreqhdr model) throws Exception;

	@Transactional
	public boolean update(RMsreqhdr model);

	@Transactional
	public boolean delete(RMsreqhdr model);

//	public TowerModel findRoomId(TowerModel towerModel);

	
	public DataTableModel<RMsreqhdr> getDataTable(RMsreqhdr model,int iDisplayStart,int iDisplayLength);
}
